const Mock = require('mockjs')

const documents = []

function generateDocs(num=6){
  for(let i = 0; i < num; i++){
    documents.push(Mock.mock({
      title: '2017年12月份工资审批表',
      lists: '辛正远的出差申请',
      titem: '2018-01-03 00:00',
      author: '@cname',
      datetime: '@datetime',
      isUnread: '@boolean'
    }))
  }
}

generateDocs(15)

export {documents}